package com.xiangyi.teachingsystem.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PrivateResShare {
    //自增id
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    //资个人源标识
    private Integer resId;
    //被授权用户标识
    private Integer userId;
    //被授权用户的手机号
    private String phoneNum;

    //资源名称
    @TableField(exist = false)
    private String resName;
    //资源地址
    @TableField(exist = false)
    private String resAddress;

    @TableField(exist = false)
    private String resSub;

    @TableField(exist = false)
    private String resMajor;

    @TableField(exist = false)
    private String resCourse;

    @TableField(exist = false)
    private String resSize;
    //分享者姓名
    @TableField(exist = false)
    private String name;

    //分享者jobNum
    @TableField(exist = false)
    private String jobNum;

}
